﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleService.Model
{
    public class gupiao
    {
        public class resultData
        {
            /// <summary>
            /// 
            /// </summary>
            public string symbol { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string current { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string percent { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string chg { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string timestamp { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string volume { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string amount { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string market_capital { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string float_market_capital { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string turnover_rate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string amplitude { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string open { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string last_close { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string high { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string low { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string avg_price { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int? trade_volume { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int? side { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public bool is_trade { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int level { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string trade_session { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string trade_type { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string current_year_percent { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string trade_unique_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int type { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string bid_appl_seq_num { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string offer_appl_seq_num { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string volume_ext { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string traded_amount_ext { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string trade_type_v2 { get; set; }
        }

        public class Root
        {
            /// <summary>
            /// 
            /// </summary>
            public List<resultData> data { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int error_code { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string error_description { get; set; }
        }
    }
}
